package com.ctshk.rpc.air.dto;


import com.ctshk.rpc.air.req.AirFlightCabinData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalTime;
import java.util.List;

@Data
@ApiModel(value = "AirFlightDataDto对象",description = "航班信息DTO")
public class AirFlightDataDto implements Serializable {
    private static final long serialVersionUID = -8261197840437445938L;
    @ApiModelProperty(value = "数据唯一标识Id",required = true)
    private Long id;

    @ApiModelProperty(value = "航空公司名称")
    private String companyName;

    @ApiModelProperty(value = "航空公司Id")
    private Long companyId;

    @ApiModelProperty(value = "代码")
    private String flightCode;

    @ApiModelProperty(value = "航班号")
    private String flightNumber;

    @ApiModelProperty(value = "出发城市id")
    private Long depCityId;

    @ApiModelProperty(value = "出发城市名称")
    private String depCityName;

    @ApiModelProperty(value = "到达城市id")
    private Long arrCityId;

    @ApiModelProperty(value = "到达城市名称")
    private String arrCityName;

    @ApiModelProperty(value = "起飞机场id")
    private Long depAirportId;

    @ApiModelProperty(value = "起飞机场")
    private String depAirportName;

    @ApiModelProperty(value = "到达机场id")
    private Long arrAirportId;

    @ApiModelProperty(value = "到达机场")
    private String arrAirportName;

    @ApiModelProperty(value = "起飞时间")
    private LocalTime depTime;

    @ApiModelProperty(value = "到达时间")
    private LocalTime arrTime;

    @ApiModelProperty(value = "船舱等级集合")
    private List<AirFlightCabinData> airFlightCabinDataList;

    @ApiModelProperty(value = "行李规定")
    private String baggageStates;

    @ApiModelProperty(value = "机型")
    private Long airplaneType;

    @ApiModelProperty(value = "机型名稱")
    private String airplaneName;

    @ApiModelProperty(value = "0无效 1有效")
    private Integer status;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;
}
